using System;
using System.Collections;
using System.Collections.Generic;

using DATA.Base;

namespace DATA.BusinessObjects
{
    public partial class Matdosudungphong : BusinessBase<string>
    {
        #region Declarations

		private int? _thang = null;
		
		
		private IList<Chitietmatdosudungphong> _chitietmatdosudungphongs = new List<Chitietmatdosudungphong>();
		
		#endregion

        #region Constructors

        public Matdosudungphong() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_thang);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int? Thang
        {
            get { return _thang; }
			set
			{
				OnThangChanging();
				_thang = value;
				OnThangChanged();
			}
        }
		partial void OnThangChanging();
		partial void OnThangChanged();
		
		public virtual IList<Chitietmatdosudungphong> Chitietmatdosudungphongs
        {
            get { return _chitietmatdosudungphongs; }
            set
			{
				OnChitietmatdosudungphongsChanging();
				_chitietmatdosudungphongs = value;
				OnChitietmatdosudungphongsChanged();
			}
        }
		partial void OnChitietmatdosudungphongsChanging();
		partial void OnChitietmatdosudungphongsChanged();
		
        #endregion
    }
}
